package com.dt76.smallloanbackenduser.remote.zjs;



import com.dt76.smallloanbackenduser.hystrix.zjs.PowerRemoteHystrix;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "smallloan-backend-service")
public interface PowerRemote {

    @RequestMapping("/zjs/qryPagePowerAll")
    public Page qryPageAllPowerUser(@RequestParam("pageIndex") int pageIndex,
                                    @RequestParam("qryTime") int qryTime,
                                    @RequestParam("qryNum") int qryNum,
                                    @RequestParam("qryMoney") int qryMoney,
                                    @RequestParam("qryType") int qryType,
                                  @RequestParam("qryRank") int qryRank,
                                  @RequestParam("qryLebal") int qryLebal
                               );

}
